﻿using NLog;
using System.ServiceProcess;

namespace Ayatta.FileUpload.Server
{
    public static class Program
    {
        public static readonly string ServiceName = "Ayatta.FileUpload.Server";
        public static readonly string Description = "Ayatta.FileUpload.Server";
        internal static readonly Logger Logger = LogManager.GetCurrentClassLogger();
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        public static void Main()
        {
            var servicesToRun = new ServiceBase[]
                {
                    new WinService()
                };
            ServiceBase.Run(servicesToRun);
        }
    }
}
